import React from 'react'
import { Row,Col } from 'antd'
import NavLeft from './components/NavLeft'
import Header from './components/Header'
import Footer from './components/Footer'
// import AuthRoute from './AuthRoute'

import './style/common.less'


export default class Admin extends React.Component{

    render(){
        return (
            <Row className="container">
                <Col span={4} className="nav-left"><NavLeft/></Col>
                <Col span={20} className="main">
                    <Header/>
                    <Row className="content">
                        {/* 占时取消权限校验 */}
                        {/*<AuthRoute/>*/}
                        { this.props.children }
                    </Row>
                    <Footer/>
                </Col>
            </Row>
        );
    }
}